package com.gljx.web.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.gljx.web.Entity.RemunProvideEntry;
import com.gljx.web.dao.RemunProvideEntryMapper;
import com.gljx.web.service.RemunProvideEntryService;
@Service
@Transactional
public class RemunProvideEntryServiceImpl implements RemunProvideEntryService {
	@Autowired
	private RemunProvideEntryMapper remunProvideEntryMapper;
	@Override
	public int addRemunProvideEntry(RemunProvideEntry remunProvideEntry) {
		// TODO Auto-generated method stub
		return remunProvideEntryMapper.insertSelective(remunProvideEntry);
	}
	@Override
	public List<RemunProvideEntry> selectByFparentid(String parentid) {
		// TODO Auto-generated method stub
		return remunProvideEntryMapper.selectByFparentid(parentid);
	}
	@Override
	public int updateByPrimaryKeySelective(RemunProvideEntry remunProvideEntry) {
		// TODO Auto-generated method stub
		return remunProvideEntryMapper.updateByPrimaryKeySelective(remunProvideEntry);
	}
	@Override
	public int deleteByParentId(String parentid) {
		// TODO Auto-generated method stub
		return remunProvideEntryMapper.deleteByParentId(parentid);
	}

}
